perm filename EFUN.SL[UP,DOC] blob
sn#398300 filedate 1978-11-27 generic text, type C, neo UTF8
COMMENT ⊗ VALID 00032 PAGES
C REC PAGE DESCRIPTION
C00001 00001
C00003 00002 [NOTE: This version of EFUN.SL[UP,DOC] last mod. Nov. 27,1978]
C00005 00003 [FUNCTIONAL INDEX OF COMMANDS: STARTS ON PAGE 9]
C00006 00004
C00008 00005 KEYBOARD CONTROL COMMANDS: CONTROL, META, ETC.
C00009 00006 E MODES
C00011 00007 COMMAND REPEAT ARGUEMENT
C00012 00008
C00013 00009 ABORT
C00014 00010 ATTACH
C00016 00011 COPY
C00017 00012 CORRECTIONS, RECOVER FROM UNWANTED
C00018 00013 CURSOR, MOVE
C00021 00014 DELETE CHARACTER
C00022 00015 DELETE LINE(S)
C00023 00016 EXIT
C00024 00017 EXTEND COMMAND
C00025 00018 FIND STRING
C00026 00019 GO TO A PREVIOUS FILE
C00027 00020 INSERT
C00029 00021 LINES, JOIN
C00031 00022 PAGEMARK
C00032 00023 PROTECTION
C00033 00024 REDRAW SCREEN
C00034 00025 RE-EDIT LAST LINE EDITED
C00035 00026 REPEAT, line editor αS or αK or αB or αL cmd
C00036 00027 SWITCH FILES
C00037 00028 TRANSPOSE TWO CHARACTERS
C00038 00029 WINDOW
C00043 00030 WRITE OUT CURRENT PAGE
C00044 00031
C00045 00032 THIS PAGE CONTAINS AS YET FUNCTIONALLY UNSORTED COMMANDS.
C00065 ENDMK
C⊗;
[NOTE: This version of EFUN.SL[UP,DOC] last mod. Nov. 27,1978]
[FUNCTIONAL INDEX OF COMMANDS: STARTS ON PAGE 9]
KEYBOARD CONTROL COMMANDS: CONTROL, META, ETC.
Read α as CONTROL, β as META, ⊗ as EITHER CONTROL OR BOTH CONTROL AND META.
E MODES
Modes: N=Normal, E=line-Edit, A=Attach
I=command explicitly affects LINE INSERT mode
L=command is a Line editor command,
S=command takes arg from Search distance.
COMMAND REPEAT ARGUEMENT
# stands for any decimal number.
Note that when a repeat argument is given from the line editor, the
form αβ# must be used instead of α#, since the latter would be taken
as a line editor repeat count instead of an E-command repeat arg.
ABORT
Page Modes Command Meaning
N,A <alt> Abort command
9 E restore line to original condition
11 I leave LINE INSERT mode, delete line if empty
ATTACH
Page Modes Command Meaning
ATTACH
10 N,A,E,S ⊗A Attach 1 line
10 N,A,E,S ⊗#⊗A Attach # lines
10 N,A,E ⊗+⊗A Attach 1 more line
10 A ⊗-⊗A Attach 1 less line
10 N,E ⊗-⊗A Attach line just above current line
10 A ⊗E Leave ATTACH mode by putting down all attached lines
10 A αβK Kill all attached lines
10 A ⊗#αβK Kill # lines at front of attach buffer
10 A αβR Replace attached lines (put them back where picked up)
COPY
Page Modes Command Meaning
10 N,A,E,S ⊗#⊗C Copy # lines into attach buffer
N,E ⊗-⊗C Copy line just above current line
A ⊗+⊗C Copy one more line
A ⊗-⊗C Copy one less line (i.e., kill last line in attach buffer)
9 N,E ⊗Q Copy line above, and enter copy in line-edit mode
CORRECTIONS, RECOVER FROM UNWANTED
Page Modes ⊗X Command Meaning
6 N,A,E CA *Flush unwritten changes to incore page(s)
6 N,A,E CANCEL *Flush unwritten changes to incore page(s)
CURSOR, MOVE
Page Modes Command Meaning
9 E,L α<form> Move cursor to beginning of line
7 N,A <cr> Move arrow to next line
9 E first close line
7 N,A <bs> Move arrow up a line
9 E,L move cursor left a char, erasing if at end of line
7,9 N,A,E,L α<bs> Same as <bs> but never erase
7 N,A β<bs> Move arrow up a line
7 N,A αβ<bs> Move arrow up a line (non-display users see ⊗U cmd)
9 E,L repeatedly move cursor to left (as long as held down)
9 N,E,L α<tab> Go to end of current line
7 N,A αL Go to first line of current page
7 N,A,E αβL Go to first line of incore text
7 N,A,E ⊗#αL Go to Line # of current page
7 N,A,E ⊗#αβL Go to Line # of all incore text
8 N,A αM Go forward to next Mark
8 N,A ⊗-αM Go backward to previous Mark
9 E,L αB Move backwards in line editor to next char typed
7 N,A,E ⊗> Move arrow down 4 lines
7 N,A,E ⊗< Move arrow up 4 lines
7 N,A,E ⊗≥ Move arrow down half a screen
7 N,A,E ⊗≤ Move arrow up half a screen
7 N,A,E ⊗∧ Move arrow to top of screen
7 N,A,E ⊗0⊗∧ Move arrow to middle of screen
7 N,A,E ⊗∨ Move arrow to middle of screen
7 N,A,E ⊗0⊗∨ Move arrow to middle of screen
9 N,E,L αS Skip to next char typed
9 N,E ⊗; Move cursor straight up
9 N,E ⊗: Move cursor straight down
9 N,E α↑ Move to end of line above
11 N,E,I αβ↑ Move to end of line above and enter line insert mode
9 N,E α↓ Move to end of line below
11 N,E,I αβ↓ Move to end of line below and enter line insert mode
Page Modes ⊗X Command Meaning
19 N,A,E EMPTY Move to next empty line on page
DELETE CHARACTER
Page Modes Command Meaning
9 E,L αD Delete char (if at end of line, delete CRLF)
9 N,E,L αK Kill characters forward up to next char typed
9 E,L αL Kill characters backward up to next char typed
DELETE LINE(S)
Page Modes Command Meaning
7 N,S αβD Delete line
N,S ⊗#αβD Delete # lines
N,S ⊗-αβD Delete previous line
N,S ⊗-⊗#αβD Delete # previous lines
EXIT
Page Modes Command Meaning
7 N ⊗E Exit
EXTEND COMMAND
Page Modes Command Meaning
19 N,A,E ⊗X Enter eXtended command next
19 N,A,E ⊗Xα<cr> Load line editor with previous extended cmd line to retry
FIND STRING
Page Modes Command Meaning
13 N,A,E αF Find string (delimiters not required)
13 N,A,E αβF Find delimited string
13 N,A,E ⊗* Repeat last ⊗F or ⊗XFIND command
Page Modes ⊗X Command Meaning
13 N,A,E FIND Do a multipage search for a given string
GO TO A PREVIOUS FILE
Page Modes Command Meaning
34 N,A αH Go to previous file in file stack (Home)
34 N,A αβH Go to Nth previous file, where N is current default arg
34 N,A ⊗#αH Go to #th previous file
34 N,A ⊗#αβH Go to #th previous file and set default arg to #
34 N,A ⊗-⊗#⊗H Go to #th previous file and pop # files off top of stack
34 N,A ⊗+⊗#⊗H Re-push # files back onto top of stack and go to new top
INSERT
Page Modes Command Meaning
9 N β<cr> Insert <cr>
9 E first close line
9 I insert <cr> but don't leave LINE INSERT mode
11 N,I αβ<cr> Enter LINE INSERT mode and insert a blank line
11 E,I enter LINE INSERT mode breaking current line at cursor
11 N,E ⊗#αβ<cr> Insert # blank lines
11 N,E,I αβ<tab> Go to end of current line and enter line insert mode
9 N,E,L αI Enter Insert mode (at end of line, enter LINE INSERT mode)
11 N,I αβI Enter LINE INSERT mode and insert a blank line
11 E,I αβI Enter LINE INSERT mode in current line (new line if at end)
9 E α<cr> Leave LINE-EDIT mode, stay on same line
11 I leave LINE INSERT mode, stay on same line
13 N position cursor at found string (after find)
9 E,L erase char to left
LINES, JOIN
Page Modes ⊗X Command Meaning
12 N,A,S JOIN *Join two or more lines by deleting CRLFs
PAGEMARK
Page Modes Command Meaning
6 N β<form> Insert an incore pagemark
Page Modes ⊗X Command Meaning
6 N DELETE Delete the next (not-incore) pagemark
6 N INSERT Insert an incore pagemark before current line
6 N,A M Make the current line start a new page
6 N,A MARK Make the current line start a new page
PROTECTION
Page Modes Command Meaning
19 N,A PROTECTION *Set or read the protection key of the file
REDRAW SCREEN
Page Modes Command Meaning
7 N,A,E αV Redraw screen (without clearing)
7 N,A,E αβV Clear and then redraw screen
7 N,A,E ⊗#⊗V Redraw screen and then wait # seconds. ESC I ends wait.
RE-EDIT LAST LINE EDITED
Page Modes Command Meaning
34 N,E αβS Re-edit the last line edited, at column were activated it
REPEAT, line editor αS or αK or αB or αL cmd
Page Modes Command Meaning
9 N,E,L αR Repeat line editor αS or αK or αB or αL cmd
SWITCH FILES
Page Modes Command Meaning
15 N,A ⊗ε Switch to given file in READWRITE mode
15 N,A ⊗λ Switch to given file in READONLY mode
15 N,A,E ⊗∃ Show names of files in fileswitch list
15 N,A ⊗? Switch to the file E.ALS[UP,DOC]/R
15 N,A ⊗#⊗? Go to page # in E.ALS
15 N,A ⊗+⊗#⊗? Go to E.ALS, # pages beyond where last left it
15 N,A ⊗-⊗#⊗? Go to E.ALS, # pages before where last left it
TRANSPOSE TWO CHARACTERS
Page Modes Command Meaning
9 E,L αT Transpose the previous two chars in the line editor
WINDOW
Page Modes Command Meaning
7 N,A <form> Go forward one window among incore text
7 N,A ⊗0<form> Go forward a half window among incore text
7 N,A ⊗#<form> Go forward # windows among incore text
7 N,A ⊗<form> Go forward one window, changing pages if necessary
7 N,A <vt> Go back one window among incore text
7 N,A ⊗0<vt> Go back a half window among incore text
7 N,A ⊗#<vt> Go back # windows among incore text
7 N,A ⊗<vt> Go back a window, changing pages if necessary
7 N,A β<vt> Go back a window, changing pages if necessary
7 N,A ⊗B Glitch screen up from Bottom
7 E αβB Glitch screen up from Bottom
7 N,A,E ⊗W Go forward one window among incore text
7 N,A,E ⊗0⊗W Go forward a half window among incore text
N,A,E ⊗#⊗W Go forward # windows among incore text
7 N,A,E ⊗J Jump the arrow line to the top of the screen
7 N ⊗-⊗J Jump the arrow line to the bottom of the screen
7 N,A,E ⊗0⊗J Jump the arrow line to the center of the screen
7 N ⊗#⊗J Jump the arrow line up # lines
7 N ⊗-⊗#⊗J Jump the arrow line down # lines
7 N,A ⊗T Glitch screen down from Top
7 E αβT Glitch screen down from Top
6 N,A αP Go to next Page
6 N,A αβP Go to next Page that is not in core
6 N,A ⊗-αP Go to previous Page
6 N,A ⊗-αβP Go to previous Page that is not in core
6 N,A ⊗#αP Go to Page #
6 N,A ⊗#αβP Go to Page #, retaining only it in core
Page Modes ⊗X Command Meaning
34 N,A BACKGO Go back to page that you last came from (see ⊗O cmd)
WRITE OUT CURRENT PAGE
Page Modes Command Meaning
7 N,A α. Write out current page (not including attach buffer)
7 N,A,E αβ. Write out current page (including current line editor)
THIS PAGE CONTAINS AS YET FUNCTIONALLY UNSORTED COMMANDS.
[COMMANDS THAT HAVE ALREADY BEEN SORTED HAVE BEEN ATTACHED OUT OF
THIS PAGE.]
13 <ESC>I Terminate multi-page FIND
14 terminate multiple substitution
25 terminate macro expansion
7 terminate wait on delayed ⊗V command
⊗G Unused
34 N,A ⊗0αH Type out file stack
34 N,A ⊗0αβH Type out default arg for αβH command
8 N,A ⊗#αM Go forward # Marks
8 N,A ⊗-⊗#αM Go backward # Marks
8 N,A αβM Place a Mark on current line
8 N,A ⊗-αβM Clear Mark on current line
8 N,A ⊗0⊗M Report the number of Marks in current file
34 N,A αN Go to previous line in line stack
34 N,A αβN Go to Nth previous line, where N is current default arg
34 N,A ⊗0αN Type out line stack
34 N,A ⊗0αβN Type out default arg for αβN command
34 N,A ⊗#αN Go to #th previous line
34 N,A ⊗#αβN Go to #th previous line and set default arg to #
34 N,A ⊗-⊗#⊗N Go to #th previous line and pop # lines off top of stack
34 N,A ⊗+⊗#⊗N Re-push # lines back onto top of stack and go to new top
34 N,A αO Go to previous page in page stack
34 N,A αβO Go to Nth previous page, where N is current default arg
34 N,A ⊗0αO Type out page stack
34 N,A ⊗0αβO Type out default arg for αβO command
34 N,A ⊗#αO Go to #th previous page
34 N,A ⊗#αβO Go to #th previous page and set default arg to #
34 N,A ⊗-⊗#⊗O Go to #th previous page and pop # pages off top of stack
34 N,A ⊗+⊗#⊗O Re-push # pages back onto top of stack and go to new top
7 N,A,E ⊗U Move arrow Up a line (recommended cmd for non-displays)
25 N,A,E ⊗Y Call current macro
25 N,A,E ⊗Z Call a named macro
25 N,A,E ⊗# (Actually the "#" char) Pass macro call arg to next cmd
24 N,A,E ⊗∂ Operate on message with next cmd
24 N,A,E ⊗! Operate on paragraph with next cmd
13 N,E ⊗\ Repeat last substitution command
22 N,E ⊗( Find (
22 N,E ⊗) Find matching )
21 N,E ⊗↔ Return to place ⊗(, ⊗) or ⊗↔ was given
36 N,E α/ Lisp-indent current line by context above it
36 N,E αβ/ Lisp-indent next line by context above it
36 N,E ⊗#α/ Lisp-indent # lines from arrow by context above
36 N,E ⊗#αβ/ Lisp-indent # lines from next by context above
36 A α/ Lisp-indent first attached line (no-op!)
36 A αβ/ Lisp-indent first attached line in context of page
36 A ⊗#α/ Lisp-indent first # attached lines
36 A ⊗#αβ/ Lisp-indent first # attached lines in context of page
18 N,A,S ⊗← Shift line or attach buffer left by current indent default
18 N,A,S ⊗#⊗← Shift # lines left by current indent default
18 N,A,S ⊗→ Shift line or attach buffer right by current indent default
18 N,A,S ⊗#⊗→ Shift # lines right by current indent default
Page Modes ⊗X Command Meaning
27 N,A,E ABORT Abort one or more macros levels in progress
26 N,A,E ADD Add given repeat arg to macro's value.
19 N,A AL Change your job's ALIAS
19 N,A ALIAS Change your job's ALIAS
18 N,A,S ALIGN Align left margins of text
6 N APPEND Add # following pages to incore text
26 N,A,E ARGUMENT Set up repeat argument from value of numeric macro.
27 N ATTACH Place an editable macro definition in the attach buffer
33 N,A,E ATTSET Set max number of lines used to display attach buffer
19 N,A,E AUTOBURP Set or read autoburping threshold
11 N,A,E,I AUTOWRITE Set or read autowriting threshold for line insert mode
34 N,A BACKGO Go back to page that you last came from (see ⊗O cmd)
19 N,A,E BEEPME Beep the user's terminal now
33 N,A BOTSET Set number of lines used at bottom for page printer
12 N,A,S BREAK Break line(s) at given column position
19 N,A BURP Burp current page of extraneous null records
25 N,A,E CASE Select and call a macro from a list of macro names.
18 N,A,S CENTER Center text of given lines between margins
19 N,A,E CHECK Enable free storage checking within E
19 N,A CLOSE Close the file, but allow further editing
27 N,A,E COMMENT No-op, useful for putting comments in command files
21 N,A,E CONTROL Make next cmd char have only the CONTROL bit
19 N,A CORCHK Try to core down if possible (done automatically)
19 N,A,E DDTGO Call RAID, if available (ERAID only)
25 N,A DEFINE Define a macro
23 N DIRED Swap to the DIRED directory editor
26 N,A,E DIVIDE Divide macro's numeric value by given repeat arg.
19 N,A DPYALWAYS Update the display after every command
19 N,A DPYSKIP Only update the display when no typeahead
7 N,A,E DRAW Redraw the screen now
23 N DRD Swap to the DIRED directory editor
19 N,A,E ECHO Turn on/off echoing of text edited in line editor.
21 N,A ENTER Switch to given file in READWRITE mode
21 N,A EPSILON Switch to given file in READWRITE mode
13 N,A EXACT Distinguish case of letters in searches
27 N,A,E EXECUTE Read and execute commands from a file
21 N,A,E EXIST Type out fileswitch list
23 N GORPG Swap to SNAIL (RPG) to reexecute last cmd
21 N,A HEADER Type out the header line (from top of window)
33 N,A HEIGHT Set the number of lines used for text display
34 N,A HOME Go to relative or absolute page in Home file
26 N,A,E IFEQ Error unless repeat arg = macro value
26 N,A,E IFGE Error unless repeat arg ≥ macro value
26 N,A,E IFGT Error unless repeat arg > macro value
26 N,A,E IFLE Error unless repeat arg ≤ macro value
26 N,A,E IFLT Error unless repeat arg < macro value
26 N,A,E IFNE Error unless repeat arg ≠ macro value
18 N,A,S INDENT Indent lines by given amount
16 N,A,S JFILL Justify paragraphs w/out aligning right margin
16 N,A,S JGET Get justification margins from text
16 N,A,S JUST Justify paragraphs and align at right margin
21 N,A LAMBDA Switch to given file in READONLY mode
19 N,A LINCNT Type length of current line, plus more info
36 N,A,E LISPSYNTAX Examine and/or modify char interpretation by ⊗/ cmd
21 N,A LOOKUP Switch to given file in READONLY mode
22 N,E LPAREN Search for next "(", crossing page boundaries
19 N,A,S MAIL Mail a message to someone
26 N,A,E MAXIMUM Set macro's value to MAX(<old value>,<repeat arg>).
21 N,A,E METACONTROL Make next cmd char have both META and CONTROL bits
26 N,A,E MINIMUM Set macro's value to MIN(<old value>,<repeat arg>).
21 N,A,E MSG Operate on current message with next command
26 N,A,E MULTIPLY Multiply macro's numeric value by given repeat arg.
32 N NDFAIL Make a New Directory line (FAIL type) for page
32 N NDSAIL Make a New Directory line (SAIL type) for page
19 N,A,E NONEMPTY Move to next non-empty line on page
21 N,A,E NUMBERS Enable or disable typing of line numbers with text
19 N,A OPEN Open the current file in Read-Alter mode
22 N,A,E PAREN Set the chars searched for by parenthesis cmds
21 N,A,E PARTIAL Operate on current message with next command
22 N,A,E PINFO Type out info about last parenthesis command
15 N,A POINTER Switch to a file named in the incore text
19 N,A PPSET Ensure that the page printer is positioned ok
27 N,A,E PUTDEFS Write out all current macro definitions in a cmd file
19 N,A,E QUIT Exit to monitor without writing out the file
19 N,A READONLY Disallow changing the file
19 N,A READWRITE Allow changing the file
27 N,A REDEFINE Define a macro from incore page or attach buffer
26 N,A,E REMAINDER Set macro to remainder of old value divided by repeat arg.
19 N,A,S REMIND Enter a REMIND-system reminder
25 N,A,E RESUME Resume expansion of a macro that was stopped early
22 N,E RPAREN Search for next ")", crossing page boundaries
23 N,A,E RSYS Run a given system program, with RPG startup
23 N,A,E RUN Run a given user program, with RPG startup
19 N,A SAVE Write out incore page(s) in E$SAVE.TXT
19 N,A,S SEND Send a message to someone logged in
26 N,A,E SET Set the value of numeric macro to given repeat arg.
25 N,A,E SILENT Suppress error messages while inside macros.
19 N,A,S SIN Replace tabs with equivalent numbers of spaces
16 N,A,S SJFILL Separate text into justified sentences
16 N,A,S SJUST Separate into justified right-aligned sentences
19 N,A,S SPOOLC Spool incore page(s) on the line printer
25 N,A,E STOPALL Set action on macro error to stop all macros
25 N,A,E STOPHOW Find out setting of macro error action
25 N,A,E STOPONE Set action on macro error to stop just one macro
25 N,A,E STOPZERO Set action on macro error to ignore errors
26 N,A,E SUBTRACT Subtract given repeat arg from macro's value.
17 N,A,S TABLE Line up entries in a table
19 N,A,E TELLME Report the latest commands to person maintaining E
19 N,A,E TERSE Enter terse mode--suppresses some typed info
17 N,A,S TGET Same as TJGET command (see below)
6 N,A THISPAGE Write out incore page(s) and read back only current page
19 N,A,S TIN Replace multiple spaces with equivalent tabs
17 N,A,S TJFILL Justify paragraphs that begin with a table
17 N,A,S TJGET Get margins for TJFILL/TJUST from text
17 N,A,S TJUST Justify & R-align paragraphs beginning w/table
19 N,A,E TMPCOR Write out (now and on exit) TMPCOR file used by E
33 N,A TOPSET Set number of lines E skips at top (e.g., for wholine)
21 N,A TRAILER Type out the trailer line (from bottom of window)
21 N,A,S TYPE Type out line(s) of text
35 N,A UNDELETE Restore recently deleted or changed text
30 N,A UPDATE Write out the updated incore directory
19 N,A,E VERBOSE Enter verbose mode--types out extra info
19 N,A,E WRITTEN Type out who previous wrote the file and when
19 N,A,S XSPOOL Spool incore page(s) on the XGP
34 N,A ZFILES Zero (clear) the file stack (and filelist)
34 N,A ZLINES Zero (clear) the line stack
8 N,A ZMARKS Zero (clear) all line marks
34 N,A ZPAGES Zero (clear) the page stack